﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Possan.MySQL.WebTest._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>Untitled Page</title>
</head>
<body>
	<form id="form1" runat="server">
	<div>
		<h1>
			Yo dawg!</h1>
		<hr />
		<asp:LoginView ID="LoginView1" runat="server">
			<AnonymousTemplate>
				<h2>
					not logged in / anonymous</h2>
				<h3>
					login control</h3>
				<asp:Login ID="Login1" runat="server" OnLoggedIn="Login1_LoggedIn2">
				</asp:Login>
				<h3>
					password recovery control</h3>
				<asp:PasswordRecovery ID="PasswordRecovery1" runat="server">
				</asp:PasswordRecovery>
				<h3>
					create user wizard</h3>
				<asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
					<WizardSteps>
						<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
						</asp:CreateUserWizardStep>
						<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
						</asp:CompleteWizardStep>
					</WizardSteps>
				</asp:CreateUserWizard>
			</AnonymousTemplate>
			<LoggedInTemplate>
				<h2>
					Logged in as
					<asp:LoginName ID="LoginName1" runat="server" />
				</h2>
				<h3>
					change password control</h3>
				<asp:ChangePassword ID="ChangePassword1" runat="server">
				</asp:ChangePassword>
				<h3>
					some random properties</h3>
				<p>
					Prop 1:
					<asp:TextBox ID="tbProp1" runat="server"></asp:TextBox>
				</p>
				<p>
					Prop 2:
					<asp:TextBox ID="tbProp2" runat="server"></asp:TextBox>
				</p>
				<p>
					<asp:Button ID="buSaveProps" runat="server" Text="Save properties" OnClick="buSaveProps_Click" />
				</p>
				<h3>
					logout button</h3>
				<asp:Button ID="buLogout" runat="server" Text="Log out" OnClick="buLogout_Click" />
			</LoggedInTemplate>
		</asp:LoginView>
	</div>
	</form>
</body>
</html>
